package com.bigmi.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bigmi.model.common.dtos.ResponseResult;
import com.bigmi.model.wemedia.dtos.WmNewsDto;
import com.bigmi.model.wemedia.dtos.WmNewsPageReqDto;
import com.bigmi.model.wemedia.pojos.WmNews;

public interface WmNewsService extends IService<WmNews> {
    //条件查询文章列表
    public ResponseResult findList( WmNewsPageReqDto wmNewsPageReqDto);
    //发布修改文章保存为草稿
    public ResponseResult submit( WmNewsDto wmNewsDto);
    //编辑查看文章
    public ResponseResult one(int id);
    //删除文章
    public ResponseResult del_news( int id);
    //上下架文章
    public ResponseResult down_or_up(WmNewsDto wmNewsDto);
}
